package com.jrx.anytxn.param.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 切日相关配置
 */
@Component
@ConfigurationProperties(prefix = "cutover")
public class CutoverConfig {
    /**
     * 是否允许跳批标志，0：不允许跳批，1：允许跳批
     */
    private String cutFlag = "0";

    public String getCutFlag() {
        return cutFlag;
    }

    public void setCutFlag(String cutFlag) {
        this.cutFlag = cutFlag;
    }

    public List<String> getBatchTaskIdList() {
        return batchTaskIdList;
    }

    public void setBatchTaskIdList(List<String> batchTaskIdList) {
        this.batchTaskIdList = batchTaskIdList;
    }

    private List<String> batchTaskIdList;
}
